//
//  LJWebKitSupport.h
//  Onskysell
//
//  Created by LJJ on 2017/8/11.
//  Copyright © 2017年 cg. All rights reserved.
//  webkit wkwebview支持类(通过多个webview共用processPool同步cookie session)

#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>

@interface LJWebKitSupport : NSObject
@property (nonatomic, strong) WKProcessPool *processPool;
@property (nonatomic, strong) WKWebViewConfiguration *webViewConfiguration;
@property (nonatomic, strong) WKUserContentController *contentController;
+ (instancetype)sharedSupport;
+ (WKWebView *)createSharableWKWebView;
+ (NSString*)readCurrentCookieWith:(NSDictionary*)dic;
+ (NSString *)getCookieJsonWithCookiesArr:(NSArray *)cookies;
@end
